﻿/// <reference path="../GeneratedArtifacts/viewModel.js" />

myapp.Order.created = function (entity) {
    // Set Defaults
    entity.OrderDate = new Date();
    entity.OrderStatus = "New";
};